package com.palominocia.capa_datos_nodo.util;

import com.lowagie.text.Image;
import com.lowagie.text.pdf.BarcodeEAN;
import com.lowagie.text.pdf.PdfContentByte;

public class CodigoBarras {

	void Ean(String codigoGenerable,PdfContentByte cb){
		BarcodeEAN codeEAN = new BarcodeEAN();
		codeEAN.setCodeType(BarcodeEAN.EAN13);
		codeEAN.setCode(codigoGenerable);
		//codeEAN.createAwtImage(foreground, background)
		Image imageEAN = codeEAN.createImageWithBarcode(cb, null, null);
		
	}
	void Ean13(){
		
	}
}
